<!DOCTYPE html>
<html lang="zh-cn" class="no-js">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>{$seo_title}</title>
    <meta name="keywords" content="{$keywords}" />
    <meta name="description" content="{$description}" />
    <link href="{STATIC_URL}avatar/css/dgy.base.css" rel="stylesheet" type="text/css" />
    <link href="{STATIC_URL}avatar/css/dgy.head.css" rel="stylesheet" type="text/css" />
    <link href="{STATIC_URL}avatar/css/dgy.group.css" rel="stylesheet" type="text/css" />
    <link href="{STATIC_URL}avatar/css/dgy.layout.css" rel="stylesheet" type="text/css" />
    <link href="//at.alicdn.com/t/font_958938_n3j31its8x.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="{STATIC_URL}avatar/js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="{STATIC_URL}avatar/js/baseMotheds.js"></script>
  </head>
  <body class="bgf6">
    <!-- header -->
    <div id="headGroup">
    {m:include "index","header"}
    </div>
    
    <div class="userHeadGrid layoutHide" id="headTitleGroup">
        <div class="planetGroup w1100">
            <h1 class="title">{get_catname($catid)}</h1>
            <p class="detail">{$subtitle}</p>
            <i class="planet a1 animateBalloon2"></i><i class="planet a2 animateBalloon4"></i><i class="planet a3 animateBalloon"></i><i class="planet a4 animateBalloon3"></i>
        </div>
    </div>
    
    <!-- fullTabs -->
    {if $parentid != 0}
    <div class="fullTabs layoutHide" id="headFullTabs">
        <div class="menuBox">
            <span class="item">
                <a href="{get_category($parentid, 'pclink')}">全部</a>
            </span>
            {php $data = get_childcat($parentid);}
        	{loop $data $k=>$v}
        		<span class="item">
                    <a {if isset($catid) && $v['catid']==$catid} class="current" {/if} href="{$v[pclink]}">{$v[catname]}</a>
                </span>
        	{/loop}
        </div>
         
    </div>
    {/if}
    
    <!-- article -->
    <div class="baseGroup w1100 layoutAuto" id="channelGroup">
        
        <div class="mt20">
            <div class="newArticleGrid link web list">
                {m:lists field="title,inputtime,url,description,click,webTag,thumb,up" catid="$catid" order="id DESC" limit="12" page="page"}
    		    {loop $data $v}
    		    <div class="itemLi">
                    <a href="{$v[url]}" target="_blank" class="content">
                        <div class="img" style="background:url('{$v[thumb]}') no-repeat; background-size:cover;"></div>
                        <h2>{str_cut($v['title'], 80)}</h2>
                        <p>{$v[webTag]}</p>
                        <div class="btmBox">
                            {str_cut($v['description'], 120)}
                        </div>
                    </a>
    		    </div>
    		    {/loop}
    		    <div class="clearfix"></div>
            </div>
                
            <div id="pageGroup">{$pages}</div>
        </div>
        
    </div>

    <!-- footer -->
    <footer class="bgfa">
    {m:include "index","footer"}
    </footer>
      
  </body>
</html>
